package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Role;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void saveOrUpdate(Role e,int [] ids);

    void delete(Long id);

    PageInfo query(QueryObject qo);

    Role selectOne(Long id);

    List<Role> listAll();
//    void selectByRolenameAndPassword(String username, String password);
}
